Added the functuionality to authentivate user from server, changing password at server and gettting passphrase