Changed controller interface.
Added user persistence.