Added a convenience method for alerts.
Consistent type face between admin and front-end view.
Specified primary key for User table; fixed authentication issues.