Adds basic log in/out system and view permissions.