when I finish typing my password, press submit screenshot 2018-08-21 4.53.10 pm 
 
 2018-08-21 4.54.06 
 
 this is the code I think is wrong 
 class AdminController < ApplicationController 
 def log_in 
  @note = session[:note]end
def log_out
  session[:note]=nilend
def create_session
  user=User.find_by(email:params[:email],password:encryption(params[:password]))
  if user
  session[:note]=user.name
  end 
  redirect_to action: :log_inend
def encryption
    return "aaa"+password
    
end end
