Fixed bug in add user where login session creation never happened. Also fixed update user (postgres query) in user module in library.