Basic authentication for the UI

this is the basic authentication for the ui.

insert the follwing record into the 'users' collection in registration
```'json
{"userName" : "admin", "password" : "$2a$10$ja0LbBRHo.q11vuZhWmdKuL9HGqHHfQ7j599fv5Tc/dxcthPah4K2", "email" : "admin@nowhere.com"}
```