unit test for api/v1/sessions_controller
updated gitignore