login/regiser code

Here are most if not all of the files required for the login/register
part of the application. read the README file to get an understanding of
whats going on