Fix sign in bug with invalid sign in. Add link to create survey on index if logged in.