Basic functionality for guest, user, admin access. Views not changed though.