Fix url parameter, lastname setting and assigning variables.
Added first draft of admin panel.