Create login on index. Fix redir