Adding function to unlock specified am user