finished known authentication features. Added authorisation. These features will need to be refactored as application is developed to reflect other features.