Changed someting in User model and index.php