Login to Arduino Webserver

Hey guys, im doing a simple arduino project. Just want to ask how can i make login page for the webserver and the user will have to simply key in the username and password so that they can use the main function inside the arduino.

Hardware:
1.arduino uno
2.ethernet shield + sd card
3.several sensors

hope u guys can help. thanks in advance. :slight_smile: