Simplify get_url method
Pass missed action parameter
Move secondary units handling to user profile
Increase limit for number of local variables