Registration and Login Functionality Errors Sorted