added resources clean up aspect and fixed redirection to profile based on user role