login + model revisited