Cleaning up Login
Added Validation
Added CSRF check
Cleanup HasErrorExtension