refactor method in session controller by using 'present?'
Merge branch 'profile' into development