bug fixed for user_page