2nd update

*changes have been made to design
*change of sql files
*added login functionality