Add hash in login action