User login and registration enhancement