fixed registration, friendProfile and added access filter.