Added admin and user login features.