add login link to index
redirect to profile after login