Also store access key.
Refractoring routes back to views.
Added register request.