update rails version and added tests for sign-in and sign-out