registeration and signin functionality working now