Added is_admin flag to database so that once logged in, users are directed to different pages