added login helper method in spec config file. finished show test in user controller spec