refactoring
Fixed import
Added basic login functionality
Add authorisation based on role