user login and reg functional, incomplete
user login and reg functional, incomplete