500 error on user page, All logic present