Adding sign_in utility function

Found one more place were the utility function
can be used

Signed-off-by: oscarsan <oscarsanhueza@gmail.com>
Using the target="_blank" to open new tab

Using this as target in the lnk
will open a new tab in the browser.

Signed-off-by: oscarsan <oscarsanhueza@gmail.com>
Using render for the new and edit

As code is almost the same for both
page we can use a render html for both
just need to pass a parameter with it.

Signed-off-by: oscarsan <oscarsanhueza@gmail.com>
taking comments out

Commented as we use the function sign_in,
now is working, no comments needed

Signed-off-by: oscarsan <oscarsanhueza@gmail.com>
Task 9.6.6

If the user is already login it
will not be able to create a new user.

Signed-off-by: oscarsan <oscarsanhueza@gmail.com>
use request RoR for debugging

Using request for debugging so you
can extract more info from each command.

Signed-off-by: oscarsan <oscarsanhueza@gmail.com>