[Index] Added error handling, [Login]Changed to for erros in Index, [passwordrecovery]Finished