added database functionalities
new password encryption
starting to implement session