added login url, view, tests. added helper functions file utilities