Added devise capability and basic login/logout fxn to pages