Refactoring and Login Check Enabled

Renamed class files, added method to check if user exists,  if doesnt
then register user and continue, if does then continue.