Implement remember me

fixes #7
fix bug in user signup
cleanup validation for authentication