changed user.id on user.login in _dialog.html.haml