Redirecting to site root after succefull log in and redirecting to rails app user is not logged int