devise model
added log in control flow
home nav
fixed jquery issue