Local authentication

Implemented local authentication with database salted password