Sign-in-out added, with sessions and cookies for remember_me functionality