Refactor http_login_helpers
Update syntax highlighting