Removed login debug and used session for user_id