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

...r controller spec