added profile window and facebook login