login style applyed. Redirection of index to login.