Login functionality has now been added. I cleaned up the code a bit, our project is now following MVC structure. Model.cs is used for SQL stuff and index.aspx.cs should consist of design only.