added sign in route, and fixed the view issue on index.erb