Fix some html problems  and fix friend requests