validation for login, forgot pin and registration added