set up login bean