changed all instances of loginPanel to small l