added bean to login