Added admin role. Separed admin and regular user authentication handling. Fixed login bug